<header id="header">
	<!--HEADER-->
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="col-md-3 logo"><h1 class="rubberBand animated"><a href="<?php echo base_url();?>" title="animatephinhd.today">animatephinhd.today</a></h1></div>
				<div class="col-md-9 menu">
					<nav class="navbar navbar-default" role="navigation">
						<!-- Brand and toggle get grouped for better mobile display -->
						 
						 	<div class="navbar-header">
								<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
									<span class="sr-only">Toggle navigation</span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
									<span class="icon-bar"></span>
								</button>
							</div>
					
						<!-- Collect the nav links, forms, and other content for toggling -->
							<div class="collapse navbar-collapse navbar-ex1-collapse">
							<ul class="nav navbar-nav">
								<li class="dropdown">
									<a href="javascript:void(0)" title="Category" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-list"></i> Category
										<i class="fa fa-angle-down"></i>
									</a>
									
									<ul class="dropdown-menu" role="menu">
										<?php if($result_cate != NULL){?>
										<?php foreach($result_cate as $value): ?>
											 <li><a href="<?php echo base_url('category').'/'.$value['rewrite'].'.html';?>" title="<?php echo $value['namecate'] ?>"><i class="fa fa-caret-right"></i> <?php echo $value['namecate'] ?></a></li>
										<?php endforeach; ?>
										<?php } ?>
							        </ul>
								</li>
								<li ><a href="<?php echo base_url('anime.html');?>" title="Anime"><i class="fa fa-youtube-play"></i> Anime</a></li>
								<li><a href="<?php echo base_url('cartoon.html');?>" title="Cartoon"><i class="fa fa-film"></i> Cartoon</a></li>
								<li><a href="<?php echo base_url('ova.html');?>" title="OVA"><i class="fa fa-film"></i> OVA</a></li>
								<li><a href="<?php echo base_url('rank.html');?>" title="Rank"><i class="fa fa-photo"></i> Rank</a></li>
							</ul>
							 <form id="search" action="<?php echo base_url('search.html');?>" method="get" class="navbar-form navbar-right" role="search" enctype="multipart/form-data">
								<div class="input-group">
							      <input type="text" id="keyword" class="form-control" name="keyword" placeholder="Search for...">
							      <span class="input-group-btn">
							        <button class="btn btn-default" id="btn-search" type="submit"><i class="fa fa-search"></i></button>
							      </span>
							    </div>
							</form>							    
							</div><!-- /.navbar-collapse -->
					</nav>
				</div>
			</div>
		</div>
	</div>
	<!--END HEADER-->
</header>
